Skip to content

ridwanpandi/belajar-git2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIT has 2 repositories which is on local and remote. Use origin to reach access in remote repository.

#Pull (Get all commit history and files from remote repository to local repository)

git pull origin 'namebranch'

#Rebase (merging file and commit between two branch from current branch from target branch on Local repository)

git rebase 'origin/namebranch'

#Fetch (get commit history from remote repository to local repository)

git fetch origin 'namebranch' git fetch origin -> update all history commits from remote branches

#Merge (merging file from remote repository to local repository)

git merge remotename/branchname

#Delete branch remote repository git push origin --delete feature/login

###note remote repository = git repository

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages