31 lines
705 B
Markdown
31 lines
705 B
Markdown
# Stacks folder on Truenas docker
|
|
|
|
## Create local Git Repository
|
|
git init
|
|
|
|
## Create a README file (And put an initial comment inside this file)
|
|
nano README.md
|
|
|
|
ls -la
|
|
|
|
## Get Local Git Repository status
|
|
git status
|
|
|
|
## Add all files to Local Git Repository
|
|
git add .
|
|
|
|
## Do Initial Git commit
|
|
git commit -m "first commit"
|
|
|
|
## Add Github Repository origin (xxxxxxx and yyyyyyy will be provided by Github)
|
|
git remote add origin https://github.com/xxxxxxx/yyyyyyyyy.git
|
|
|
|
## Add Github user email address
|
|
git config --global user.email "xyxyxyxyxyx@gmail.com"
|
|
|
|
## Add Github user name
|
|
git config --global user.name "xxxxxxxx"
|
|
|
|
## Set upstream origin and push to Github
|
|
git push --set-upstream origin master
|