Skip to content

Instantly share code, notes, and snippets.

Kunwardeep kunwardeep

Block or report user

Report or block kunwardeep

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kunwardeep
kunwardeep / merge all commits
Last active Jan 30, 2019
Merge all commits from a branch into a single commit
View merge all commits
git checkout yourBranch
git reset $(git merge-base master $(git rev-parse --abbrev-ref HEAD))
git add -A
git commit -m "one commit on yourBranch"
git push --force
You can’t perform that action at this time.