1234567891011 |
- $branch = git rev-parse --abbrev-ref HEAD
- $ssha = git rev-parse --short head
- [System.IO.File]::WriteAllLines("source_commit", $branch+" "+$ssha)
- mv .git OriginGit
- mv AdvSecurityGit .git
- git add -A
- git commit -a -F source_commit
- git push
- Remove-Item "source_commit"
- mv .git AdvSecurityGit
- mv OriginGit .git
|