Regarding unable to commit the changes in local repository.
-
i used git status command and it showed me list which was not staged and
as @jsulm said i used git add filenames which i modified. -
k i will use the command git commit.
But is their any wrong in the above document which i posted?. -
*** Suspicious changes in commit HEAD ( filepath):
*** - Suspicious author real name (key "email")
*** commit message:
*** - Hint: Aim for shorter summaries
*** examples/sql/doc/src/cachedtable.qdoc:
*** - Style issues (key "style")
*** 53: Trailing whitespace
*** 54: Trailing whitespace
*** See http://wiki.qt.io/Early_Warning_System for explanations.
-
I found this messages after i used git command , where i provided the information.
What does it represent. -
Check the configuration of git particularly the email and name you provided.
The first line of your commit is too long. IIRC It shouldn't be more than 72 character.
The long version of the commit message should be below after one empty line. Note that the line length is still a rule to be followed.
Remove all useless whitespaces you added on lines 53 and 54 of from cachedtale.qdoc
-
I used the command to check git config --list, below was the contents.
core.autocrlf=input
core.pager=less -FRSX
status.showuntrackedfiles=all
push.default=tracking
rerere.enabled=true
rerere.autoupdate=true
rebase.stat=true
color.ui=auto
alias.di=diff
alias.ci=commit
alias.co=checkout
alias.ann=blame
alias.st=status
user.email=pradeepkm186@gmail.com
user.name=pradeep_kumar.mIs the configuration wrong?.
-
The name is wrong. It's not a "username". When you contribute to Qt it should match the name you used for the Gerrit account. In your case, likely "Pradeep Kumar".
-
Username pradeep_kumar.m
Full Name Pradeep Kumar.M
Email Address pradeepkm186@gmail.comthis is from Gerrit account.
-
Commit button is enabled , it was parsing i had to wait for a while.
sorry was being impatient.Another query is i am getting the below error
Cannot commit 1 file(s):
*** Please tell me who you are.Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"to set your account's default identity.
Omit --global to set the identity only in this repository.fatal: unable to auto-detect email address (got 'pradeep@pthinks.(none)')
Please provide further guidance?.
Thanks, -
Did you forgot the extension after
@pthinks
? -
nope i have given gmail account
git config --global user.name "pradeep_kumar.m"
git config --global user.email "pradeepkm186@gmail.com"but still y it is not working?.
its taking 'pradeep@pthinks.(none) by default. i have no clue from where. -
For the name it's not pradeep_kumar.m it
Pradeep Kumar.M
.As for the email, you have to reset the author of the commit since it was originally done with your other data.
-
For the name it's not pradeep_kumar.m it
Pradeep Kumar.M
.As for the email, you have to reset the author of the commit since it was originally done with your other data.
i will give Pradeep Kumar.M as username
As for the email, you have to reset the author of the commit since it was originally done with your other data
but second solution i didnt get it , will u please elaborate. -
Look at the
git commit
documentation foramend
andreset-author
-
guys can u help me out, unknowingly using the command git rm has removed the files from qt source code. how can i get the removed files?.
-
I have two queries
- regarding the Local Setup
Host codereview.qt-project.org
Port 29418
User <pradeep_kumar.m>
IdentityFile <~/.ssh/id_rsa_keynamehere>
is this the correct information in config file.?.
- as i have gmail id for all 3 accounts, forum account, gerrit account,bugreports account, for corporate profile do we need to register with company id.?. is that giving me the problem. I am asking the question because i used
git config --global user.name "pradeep_kumar.m"
git config --global user.email "pradeepkm186@gmail.com"for configuring , but getting the below error and the fatal error shown in bold.?.
Commit button is enabled , it was parsing i had to wait for a while.
sorry was being impatient.Another query is i am getting the below error
Cannot commit 1 file(s):
*** Please tell me who you are.Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"to set your account's default identity.
Omit --global to set the identity only in this repository.fatal: unable to auto-detect email address (got 'pradeep@pthinks.(none)')
- regarding the Local Setup
-
Again:
user.name
is not a username it is your name
You have to get the author of the commit correctly also.AFAIU, your account is registered with your pthink email so use that one for your commits.
If you have several projects on your computer and that you are using different identities to handle them, then configure git locally by project.