Introduction:
Git is a decentralized version control system, which assists developers to follow the evolution of their code and cooperate effectively with other developers. It runs on a series of basic instructions like git init, git add, git commit, and git push that enables the user to manipulate versions of his or her code. With such commands, developers are able to have a full history of changes, work on multiple branches, and merge updates without any problems.
Body:
To create repository and sync it with Visual Studio , Please refer my blog https://community.sap.com/t5/artificial-intelligence-blogs-posts/ai-steps-to-setup-python-programmin...
Open a new terminal in VS code
Create Python1.py in VsCode
Get into your repository folder.
cd {fodlername}List all items with “”
git statusAdd my folders into local repository
git add *Commit the changes to Git staging area
Git commit -m {Tag}Cross check with Github repository. Nothing added
Move from staging area to Github repository
git pushContent added to Github repository
Remove file
git rm {filename}Changes staged
git commit -m {Tag}Move to Github repository
git push
Empty folder not shown in Git
Summary:
Git is the distributed version control program which helps trace the alterations in the code and allows effective co-operation of the developers. It has easy to use commands to govern versions, maintain history, and allow easy branching and merging.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 30 | |
| 20 | |
| 18 | |
| 18 | |
| 15 | |
| 13 | |
| 10 | |
| 9 | |
| 6 | |
| 4 |