#Git commands
=============
git init : initilize empty git repository
git status : vew the changes to our product code
git add : add all tracked files to staged area
eg : git add package.json ==> add only specified file
git add . ==> add all files
git commit : create a new commit with the files in staged area
eg : git commit -m "initial commit"
git log : display recent commits
git remote add origin git@github.com:fullstacksk/react-expensify-app.git : set repo connection
git remote : origin
git remote -v : display fetch/push urls
git push -u origin master : push all the files to the github repository
#Generateing new SSH Key
========================
ssh-keygen -t rsa -b 4096 -C "fullstacksk@gmail.com" : to create ssh key
ls ~/.ssh : list all ssh files
id_rsa
id_rsa.pub
cat ~/.ssh/id_rsa.pub : read public key
eval $(ssh-agent -s) : will start sevices and provides p_id
ssh-add ~/.ssh/id_rsa : add private key on your local machine
clip < ~/.ssh/id_rsa.pub : copy public key to clipboard and paste it on github
ssh -T git@github.com : to check connection with github
#heroku command
heroku create fullstacksk-expensify-app : creats app url on heroku and
also creates heroku remote
git push heroku master : deploy the apps to that created url
-
Notifications
You must be signed in to change notification settings - Fork 0
It can be your expanse manager
fullstacksk/react-expensify-app
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
It can be your expanse manager
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published