13 Sept 2017

Git Commands -

Git Commands -

1. git clone "Repo URL"

2. Check git status >> git status

3. Add your commit in git >> git add .

4. Git Commmit >> git commit -am "Meaningful message/description"

5. Push to add files on the git repo >> git push

6. Create a branch in repo (on local system) >> git branch --create staging
    Create a branch in repo (on git) >> git push origin staging

7. Git Ignore local Database file
        got update-index --assume-unchanged config/database.php

No comments:

Post a Comment