Thursday, 14 May 2020

GITHUB: Add/ Push a folder to git

1. Initialize the Git Repo
     git init

2. Add the files to Git index
    git add -A

3. Commit Added Files
    git commit -m "my commit"

4. Add new remote origin (GitHub)
    git remote add origin git@....

5. Push to GitHub
git push -u -f origin master

No comments:

Post a comment

Note: only a member of this blog may post a comment.

TypeError: argument of type 'WindowsPath' is not iterable

 Please make to modify file: DATABASES = { 'default' : { 'ENGINE' : 'django.db.backends.sqlite3&...