I am using git in a enterprise server and git has a specific user configured in config files. My user in git has permission to make changes in git repository, but I would like to be able to do git commit with my user because I don't know the password of configured user.
How can I do that? For example, I can do a pull with next command:
git pull https://myusername@github.com/projectfolder/projectname.git master
Thanks beforehand. Mike.
git commit --author =“ author@mail.com” -m“评论”
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.