Obsidean_VM/01-Documentation/GIT/Git - Start New Repository ...

38 lines
840 B
Markdown

### Create Repository
***
1. Open the working folder with File
2. Ctr+Shit + P -> >Add Gitignore -> Select Python
![[Pasted image 20250331130643.png]]
![[Pasted image 20250331130826.png]]
* With stage you accept this files to be on the Git.
* After this you can start to Commit versions
### Branch
***
![[Pasted image 20250331131244.png]]
* Type the name of the new Branch
The current branch will appear on the bottom-left
![[Pasted image 20250331131430.png]]
* The you can work on this branch, and make Commits
* If wanted to merge this branch to ==main== follow this steps:
* Commit last modification on the actual branch
* Change branch to main
* Select merge branch and select the branch from were to merge
* After this the ==main== will have the last modifications. If the branch is not needed you can delete it.