Version control your website with Git

Publié le: 10 avril 2017
sur la chaîne: { j }code
511
2

Setting up the project with Git.

If you don't already have Git installed, follow the steps below:
https://git-scm.com/book/en/v2/Gettin...

For those that don't like using the command line, there are lots of available user interfaces for Git, a few listed here:

Source Tree: https://www.sourcetreeapp.com/
GitHub Desktop: https://desktop.github.com/
GitKraken: https://www.gitkraken.com/


Note: Git can get complex when working with a team, handling merge conflicts, or dealing with submodules. However if you are just working on something alone, you will typically only be using the commands shown in this video.

Commands Used:

"git init" - initialize the git project
"git status" - shows the status of the working tree
"git add {filename}" - add the file to staging for next commit
"git add ." - add all files to staging for next commit
"git commit -m '{message}' " - commit all staged files with a message
"git log" - show commit logs


Sur cette page du site, vous pouvez voir la vidéo en ligne Version control your website with Git durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur { j }code 10 avril 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 511 fois et il a aimé 2 téléspectateurs. Bon visionnage!