Posts

Showing posts from September, 2021

Quick tip: change git default branch.

Image
  Hello there 👋 Recently, the github modify the name your pattern branch: master became main.  With this change it is necessary to change the default GIT startup for future remote integrations. To do this, apply the command on the terminal: $ git config --global init.defaultBranch main After that, follow the traditional steps for a standard commit:  $ git init  $git remote add <url> $ git pull origin main $ git add .  $ git commit -m "new commit" $ git push -u origin main Questions or Suggestions? Contact me in my social networks.   GitHub: @yanbrasiliano Linkedln: @yan-brasiliano See you next time 💣💢💢