Sunday, 28 October 2018

List of Commands


Helpfull Commands

==================>  Git Command  <=================
git init
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/milankamariya/visitorbook_web.git
git push -u origin main

git remote add origin https://github.com/milankamariya/visitorbook_web.git
git branch -M main
git push -u origin main


==================>  BitBucket Command  <=================

1) Need to create repository in bitbucket login

2) add access key of PC(repository/setting/access key)
*Generate key : https://confluence.atlassian.com/bitbucketserver/creating-ssh-keys-776639788.html

3) usefullcommands:-

===>
add file
git init
git add . /git pull --all
git commit -m 'comment'
git push origin (git push origin master)

===> Remove file or Folder
git rm -r fodername/

===> get checkout
git clone httl...reposito url.


===> Tell Git who you are
git config --global user.name "Sam Smith"

git config --global user.email sam@example.com

# When you work with branch
git clone -b branchname --single-branch https://a.....droid.git

git init
git add .
git commit -m 'comment'
git push origin branchname


==================>  SVN Command  <=================

- For Clean up
svn cleanup

- For Add all file
svn add --force .


- For Commit
svn commit .

ctrl+x

c(Continue)

-Delete file
svn delete gradlew.bat


===================>  COMMANDS  UBUNTU <============

* Permission
sudo chmod -R 777 Downloads/apg

* Remove catch
sudo rm -rf .catch/



Generate MD5/SHA1/SHA256 and HASHKEY for FACEBOOK using Command Prompt or Terminal

# GET   MD5/SHA1/SHA256 DEBUG:- keytool -list -v -keystore "C:\Users\Milan\.android\debug.keystor e" -alias androiddebugkey ...