我有分支叫:
stuff/mythirdbranch
stuff/myfourthbranch
我还有另一个分支叫:
private static Context context;
public static synchronized Context getContext() {
return context;
}
@Override
public void onCreate() {
super.onCreate();
context = this;
);
}
注意" s"
的情况我想将首都S重命名为s。我该怎么做并将更改推送到我的git服务器
答案 0 :(得分:2)
首先,确保您与遥控器同步。然后:
# rename branch locally:
git branch -m Stuff/myfirstbranch stuff/myfirstbranch
# push new branch to remote:
git push origin stuff/myfirstbranch
# delete old branch on the remote:
git push origin :Stuff/myfirstbranch