/LPRO32

Projecto BattleSheep

Primary LanguageJava

LPRO32

Projecto BattleSheep


Git use:

git pull (Load master to local dir) (fazer alterações) git status git add -A
git commit -m "mensagem" git push (mandar ficheiros )


Instalar Git:

sudo apt-get update sudo apt-get install git

git config --global user.name "Nome" git config --global user.email "email@email.com"

git clone https://github.com/user/workspace.git


Criar novo branch:

git branch (Ver todos os branches) git branch module1 (Cria novo branch) git checkout module1 (Muda para novo branch)

git merge master (Merge current branch to master) (after solving merge conflits) git push (..)

git -d module1 (Deletes branch)