Git AND GitHub FUNDAMENTALS

Git & GitHub Fundamentals


👉Commands Every Developer Should Know

Git is a distributed version control system for tracking changes. Being designed to coordinate the programmers’ work, it’s successfully used for open source and commercial software development. But it can be just as well used in much more fields to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear workflows.⠀

💬Git Commands every developer should know:⠀
👉>_git add - adds changes to stage/index in your working directory;⠀
👉>_git commit -m «the message» - commits your changes and sets it to new commit object for your remote;⠀
👉>_git status - checks the status of files you’ve changed in your working directory;⠀
👉>_git branch - lists out all the branches;⠀
👉>_git merge  <:branch_you_want_to_merge:> - merge two branches you were working on;⠀
👉>_git pull/push <:remote:> <:branch:> - push or pull your changes to remote. If you have added and committed your changes and you want to push them. Or if your remote has updated and you want those latest changes;⠀
👉>_git checkout <:branch:> - switches to different changes.⠀

This will help you to use Git and GitHub efficiently to manage your personal and work projects.⠀

📕Version Control with Git and GitHub by Alex Magana(Author), Joseph Muli (Author)

Don’t forget to share this post with your friends👬.⠀

Share with us your experience of working with Git or GitHub in comments below👇.⠀

Comments

Popular posts from this blog

My LHD share experience

FRONT END DEVELOPER SKILLS YOU NEED TO KNOW⠀

USEFUL CHROME EXTENSIONS FOR DEVELOPERS