Top "Git-commit" questions

git-commit - Record changes to the repository along with a log message.

fatal: No existing author found with 'XXX'

I used git for the first time and I set my user name and user mail. The commands I used …

git-commit git-config git
Git - Can we recover deleted commits?

I am surprised, I couldn't find the answer to this on SO. Can we recover/restore deleted commits in git? …

git restore git-commit
git - Find commit where file was added

Say I have a file foo.js that was committed some time ago. I would like to simply find the …

git commit git-commit git-log
How to amend several commits in Git to change author

I have made a series of commits in Git and I realise now that I forgot to set my user …

git git-commit git-rewrite-history
How to reference the initial commit?

I've got a script that needs to reference the initial commit in a repository. git has the special reference HEAD, …

git git-commit
What is a Git commit ID?

How are the Git commit IDs generated to uniquely identify the commits? Example: 521747298a3790fde1710f3aa2d03b55020575aa …

git git-svn uniqueidentifier git-commit
Purging file from Git repo failed, unable to create new backup

I tried to remove a file from my remote repo by running: git filter-branch --index-filter 'git rm --cached --ignore-unmatch Rakefile' …

git git-commit git-filter-branch git-rewrite-history
git: Your branch and 'origin/somebranch' have diverged - how to throw away local commits

I have a question that most closely matches my problem was made, but could not add a comment. git: Your …

git git-commit git-reset
Edit the root commit in Git?

There's ways to change the message from later commits: git commit --amend # for the most recent commit git rebase --interactive …

git git-rebase git-commit git-rewrite-history amend
GIT Error:- expected committer email '' but found '[email protected]'

Git push is getting rejected with the following error message: expected committer email '' but found '[email protected]' I …

git commit git-commit git-config