Back to articles
Working With Git And Github
How-ToDevOps

Working With Git And Github

via Dev.to DevOpsMaxwell Wokocha C.

What is Git? Git is a free and open source software for distributed version control, tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development. Essential Git Commands: . Git Push: The "git push" command is used to upload local repository content to a remote repository. w . Git Commit: A "git commit -m" takes a snapshot of your repository at one point in time. The "-m" flag helps you add a message to the commit. . Git Add: The "git add" command adds a change in the working directory to the staging area. It informs Git that you want to include updates to a particular file in the next commit. . Git Remote Add Origin: The "git remote add origin" creates a new, empty Git repository on your remote server. Note: You will have to obtain the "git remote add url for the remote repository and add credentials if needed. How To Push From Our Local Environment To GitHub: . Download Git Bash. . Configu

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
2 views

Related Articles