Procedures (Git): verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Regel 16: | Regel 16: | ||
* Delete files: Works the same in Sublime Merge as for editing, but in the end, the file has not been deleted from the ''remote repository'' - Maybe it's done by purpose that way. I can live with that | * Delete files: Works the same in Sublime Merge as for editing, but in the end, the file has not been deleted from the ''remote repository'' - Maybe it's done by purpose that way. I can live with that | ||
* Create new files: Works as expected. | * Create new files: Works as expected. | ||
+ | |||
+ | |||
+ | == Stage, commit, push == | ||
+ | |||
+ | When ready to unleash a file upon the world, do these thinks, all within ''Sublime Merge'': | ||
+ | |||
+ | * |
Versie van 24 feb 2023 11:46
How it works for me right now (2023.02).
Context
- Git client: Sublime Merge
- Only one repository
- Local files for this one repository: /Git-repository - Probably to be changed to something more practical and more part of my overall structure of files & folders. It doesn't have to be stored within Dropbox, but I also don't think there is an explicit reason for not doing so (stuff isn't more private than other stuff)
- Remote repository (if that's the correct name): Server blub8 at
/usr/local/bin/
. More servers may be added later - For now, only 1 branch (main). Maybe later use subbranches for every Trello- or Notion card.
Work on local files
Just work on the files in the local repository. Whenever a change is detected at the local repository, it is displayed in Sublime Merge - Very easy and usefull for controlling the error (or how Montessori called it exactly - Being able to check for errors yourself)
- Edit files: Works as expected
- Delete files: Works the same in Sublime Merge as for editing, but in the end, the file has not been deleted from the remote repository - Maybe it's done by purpose that way. I can live with that
- Create new files: Works as expected.
Stage, commit, push
When ready to unleash a file upon the world, do these thinks, all within Sublime Merge: