Skip to main content

What is the difference between git clone and checkout?

git clone is to fetch your repositories from the remote git server.
git checkout is to checkout your desired status of your repository (like branches or particular files).

Comments

Popular posts from this blog

Custom Application in Erpnext

CustomApplication And Site Creation In ERPNext To Make a New Custome App Follow below commands To Create CustomAPP $ bench new-app [CustomApp-Name] App Title (defaut: Lib Mgt): CustomApp title App Description: App for managing Articles, Members, Memberships and Transactions for Libraries App Publisher: Frappé App Email: info@frappe.io App Icon (default 'octicon octicon-file-directory'): octicon octicon-book App Color (default 'grey'): #589494 App License (default 'MIT'): GNU General Public License Setting up site First we need to add below code in my.nf Go to /etc/mysql/my.nf [mysqld] innodb-file-format=barracuda innodb-file-per-table=1 innodb-large-prefix=1 character-set-client-handshake = FALSE character-set-server = utf8mb4 collation-server = utf8mb4_unicode_ci [mysql] default-character-set = utf8mb4 To Create New Site $ bench new-site [site-name] MySQL root password: Installing frappe... U...

Pushing data to Github Repository on Command Line

echo "# Repository Name In Github" >> README.md git init             [this command initializes the repository in your local system] git add README.md    [ whaich folder you want to push] git add .            [this command adds all the files in thw folder] git commit -m "first commit" [Commit message you can give what you want] git remote add origin https://github.com/MeritSystemsPvtLtd/E-Commerce.git [connection to your repository] git push -u origin master [Pushing data to your github repository]