delete files in the github repositories

Step 1: Clone github repository
      git clone repositoryURL
Step 2: Switch branch
      git checkout -b <branch> --track <remote>/<branch>
      To view <remote>/<branch> use command: git branch -r
Step 3: Delete the files
Step 4: Add the files
      git add .
Step 5: Stage the code 
      git commit -m "some comments here"
Step 4: push to github repository
      git push origin local_branch
      git push origin master

评论

此博客中的热门博文

force delete the ABAP interfaces and classes