mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-30 06:39:49 +02:00
awesome fixed push for everythinggs
This commit is contained in:
parent
56e800220c
commit
f543fa4485
3 changed files with 23 additions and 13 deletions
|
@ -37,6 +37,13 @@ describe('Git Remotes', function() {
|
|||
);
|
||||
});
|
||||
|
||||
it('pushes', function() {
|
||||
expectTreeAsync(
|
||||
'git clone; git commit; git push',
|
||||
'{"branches":{"master":{"target":"C2","id":"master","remoteTrackingBranchID":"o/master"},"o/master":{"target":"C2","id":"o/master","remoteTrackingBranchID":null}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"},"C2":{"parents":["C1"],"id":"C2"}},"HEAD":{"target":"master","id":"HEAD"},"originTree":{"branches":{"master":{"target":"C2","id":"master","remoteTrackingBranchID":null}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"},"C2":{"parents":["C1"],"id":"C2"}},"HEAD":{"target":"master","id":"HEAD"}}}'
|
||||
);
|
||||
});
|
||||
|
||||
it('pulls and then pushes', function() {
|
||||
expectTreeAsync(
|
||||
'git clone; git commit; git fakeTeamwork; git pull; git push',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue