Git: Rename “master” to “main”
More and more places are starting to rename their “master” branch to “main”. Here is a short description on one way to do that 1. We start with pulling/commiting all our work so that our Git tree is clean $
Just another Tech blog from a forgetful mind
More and more places are starting to rename their “master” branch to “main”. Here is a short description on one way to do that 1. We start with pulling/commiting all our work so that our Git tree is clean $
Every time you start a new assignment on a new computer all your aliases are gone. I’ll put them here for easy access, and if someone likes them they can use them too 🙂 git config –global alias.co checkout git
I ran into this recently by creating a new Bitbucket repository when having a spelling error in my mail address in settings. I got this error: remote: You can only push your own commits in this repository remote: Commit 85eb7acbf42a14b9
Sometimes you will have a pull request that is full of merge commits mixed with regular commits. These branches are a little tricky to squash. I’m here going to show a trick that I sometimes use. Stand in your pull
When working on a pull-request that keeps getting updated with commit after commit you sometimes need too squash some commits to get a nicer history I’m here going to show you one way to do just that using the interactive