How to Push Specific Commit With Git
-
Linux
GIT
Github
- Sometimes we made lots of commits locally and want to push specific commit to the remote branch.
-
I’ll show you how to push specific commit on remote branch.
- First we need to find out the hash of commit which we want to push on remote.
Syntax:
- Now I want to push only
f61b48cb8b1877721e2596a6aa65648a68bb605e
commit
Note!: This will push all commits up to and including the specified commit!
Newsletter
Get updated when I create new content.
Unsubscribe whenever. Never any spam.