tagged [git-commit]
Remove a git commit which has not been pushed
Remove a git commit which has not been pushed I did a `git commit` but I have not pushed it to the repository yet. So when I do `git status`, I get '# Your branch is ahead of 'master' by 1 commit. So ...
- Modified
- 8 Mar at 18:54
How can I revert multiple Git commits?
How can I revert multiple Git commits? I have a Git repository that looks like this: ``` A
- Modified
- 14 May at 19:47
Remove file from latest commit
Remove file from latest commit How do I remove a file from the latest commit?
- Modified
- 17 Jul at 00:52
Remove sensitive files and their commits from Git history
Remove sensitive files and their commits from Git history I would like to put a Git project on GitHub but it contains certain files with sensitive data (usernames and passwords, like /config/deploy.rb...
- Modified
- 23 Oct at 17:26
How do I undo the most recent local commits in Git?
How do I undo the most recent local commits in Git? I accidentally committed the wrong files to [Git](https://en.wikipedia.org/wiki/Git), but didn't push the commit to the server yet. > How do I undo ...
- Modified
- 23 Nov at 12:53
How can I remove a commit on GitHub?
How can I remove a commit on GitHub? I "accidentally" pushed a commit to GitHub. Is it possible to remove this commit? I want to revert my GitHub repository as it was before this commit.
- Modified
- 16 Dec at 16:19
git status (nothing to commit, working directory clean), however with changes commited
git status (nothing to commit, working directory clean), however with changes commited I found many questions with similar subject, but I didn't found any practical guidance about this issue: why `git...
- Modified
- 20 Dec at 01:41