×
Home Discussions Write at Opengenus IQ
×
  • Track your progress
  • Deep Learning Projects
  • Python Projects
  • Join our Internship 🎓
  • RANDOM
  • 100+ Graph Algorithms
  • 100+ DP Problems
  • 50+ Linked List Problems
  • 50+ Array Problems
  • One Liner
  • 50+ Binary Tree problems
  • Home
  • Rust Projects

version control

A collection of 9 posts

Software Engineering

Git: git remote add command

git remote add command is a basic git command which add a remote repository as an origin of your local repository. The basic idea is that the remote repository is the final working repository which is considered by everyone and your local repository is your local copy holding your changes

OpenGenus Foundation OpenGenus Foundation
git

Git: git commit command

git commit is a basic git command which saves the staged changes made to your local repository. We have explored how we can skip the add command and the information provided by the commit command of Git

OpenGenus Foundation OpenGenus Foundation
git

Git diff command

Git diff command show changes between the working tree and the index or a tree, changes between the index and a tree, changes between two trees, changes between two blob objects, or changes between two files on disk.

OpenGenus Foundation OpenGenus Foundation
git

Git add command: track a new file

In this article, we learnt how to track a new file in a project using Git. In the process, we explored the git add command to add a new file to tracking, touch command to create a new file and git status command on two different occasions to explore the status of the content tracked by Git.

OpenGenus Foundation OpenGenus Foundation
git

Git Status command: File stages in Git

In this article, we have explored the various stages that a file assumes in Git. In the process, we came across tracked and untracked files and committed, modified and staged files and the significance of each stage in relation to git status.

OpenGenus Foundation OpenGenus Foundation
git

Git: git status command

In this article, we have explored the git status command which gives us information regarding our current branch, remote repository, changes that have been staged for commit and changes that have not been staged for commit. In the process, we have explored the clear command as well.

OpenGenus Foundation OpenGenus Foundation
git

Git: Initialize a Git repository

In this article, we have explored the procedure to initializing a new Git repository. In the process, we have explored the cd (change directory) command, git init command, cd .git command and ls command to explore the hidden files in the .git folder.

OpenGenus Foundation OpenGenus Foundation
git

Git is a Map and SHA1 hash

Git is exactly a map data structure or more precisely a persistent map which maps blobs to hashes. We have demonstrated how Git is simply a hash map and with this view, its working is simplified.

OpenGenus Foundation OpenGenus Foundation
git

Git is an Onion

Git version control is like an onion and has 4 layers namely a Distributed Revision Control System, a Revision Control System, a Simple Content Tracker and a Persistent Map. We have demonstrated its working based on the layers

OpenGenus Foundation OpenGenus Foundation
OpenGenus IQ © 2023 All rights reserved â„¢ [email: team@opengenus.org]
Top Posts LinkedIn Twitter