{"id":18351006,"url":"https://github.com/developer-shourav/git-branching-marging","last_synced_at":"2025-04-10T00:28:56.011Z","repository":{"id":133407151,"uuid":"585013480","full_name":"developer-shourav/Git-Branching-Marging","owner":"developer-shourav","description":"Here is some usefull Git branching And merging command that you need to know for working in a team project.","archived":false,"fork":false,"pushed_at":"2023-01-04T05:25:16.000Z","size":1,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T15:49:23.053Z","etag":null,"topics":["git","git-branching","git-merge","project-management","team-work"],"latest_commit_sha":null,"homepage":"https://developer-shourav.github.io/Git-Branching-Marging/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developer-shourav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-04T05:02:10.000Z","updated_at":"2023-01-04T05:34:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"98e3c1a5-1340-44fa-9280-cb2c41e73698","html_url":"https://github.com/developer-shourav/Git-Branching-Marging","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shourav%2FGit-Branching-Marging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shourav%2FGit-Branching-Marging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shourav%2FGit-Branching-Marging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shourav%2FGit-Branching-Marging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developer-shourav","download_url":"https://codeload.github.com/developer-shourav/Git-Branching-Marging/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248133833,"owners_count":21053332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","git-branching","git-merge","project-management","team-work"],"created_at":"2024-11-05T21:29:09.826Z","updated_at":"2025-04-10T00:28:55.989Z","avatar_url":"https://github.com/developer-shourav.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## \u003ch2 align=\"center\"\u003eGit Branching And Merging All You Need To Know.  \u003c/h2\u003e\n\n| Commands | Description |\n| ------- | ----------- |\n| **`git branch`** | List of branches (the asterisk indicates the present working branch) |\n| **`git branch -a`** | List all branches (local and remote) |\n| **`git branch [Branch_name]`** | To create a new branch |\n| **`git branch -d [Branch_name]`** | Delete a branch |\n| **`git push origin --delete [branch name]`** | Delete a remote branch |\n| **`git checkout -b [Branch_name]`** | Create a new branch and switch to it |\n| **`git checkout -b [Branch_name] origin/[branch name]`** | Clone a remote branch and switch to it |\n| **`git branch -m [Old_branch_name] [new branch name]`** | Rename a local branch |\n| **`git checkout [Branch_name]`** | Switch to a branch |\n| **`git checkout -`** | Switch to the branch last checked out |\n| **`git checkout -- [file_name.md/css/html/js/text]`** | Discard changes to a file |\n| **`git merge [Branch_name]`** | Merge a branch into the active branch |\n| **`git merge [Source_branch] [target branch]`** | Merge a branch into a target branch |\n| **`git stash`** | Stash changes in a dirty working directory |\n| **`git stash clear`** | Remove all stashed entries |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper-shourav%2Fgit-branching-marging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloper-shourav%2Fgit-branching-marging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper-shourav%2Fgit-branching-marging/lists"}