-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathGIMapViewController+Operations.h
More file actions
65 lines (55 loc) · 3.7 KB
/
Copy pathGIMapViewController+Operations.h
File metadata and controls
65 lines (55 loc) · 3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Copyright (C) 2015-2019 Pierre-Olivier Latour <info@pol-online.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#import <GitUpKit/GIMapViewController.h>
@class GCBranch, GCLocalBranch, GCHistoryLocalBranch, GCHistoryRemoteBranch, GCHistoryTag, GCRemote;
@interface GIMapViewController (Operations)
- (BOOL)checkCleanRepositoryForOperationOnCommit:(GCCommit*)commit;
- (BOOL)checkCleanRepositoryForOperationOnBranch:(GCLocalBranch*)branch;
- (void)swapCommitWithParent:(GCHistoryCommit*)commit;
- (void)swapCommitWithChild:(GCHistoryCommit*)commit;
- (void)squashCommitWithParent:(GCHistoryCommit*)commit;
- (void)fixupCommitWithParent:(GCHistoryCommit*)commit;
- (void)deleteCommit:(GCHistoryCommit*)commit;
- (void)cherryPickCommit:(GCHistoryCommit*)commit againstLocalBranch:(GCHistoryLocalBranch*)branch;
- (void)revertCommit:(GCHistoryCommit*)commit againstLocalBranch:(GCHistoryLocalBranch*)branch;
- (void)editCommitMessage:(GCHistoryCommit*)commit;
- (void)copyCommitMessage:(GCHistoryCommit*)commit;
- (void)createLocalBranchAtCommit:(GCHistoryCommit*)commit withName:(NSString*)name checkOut:(BOOL)checkOut;
- (void)deleteLocalBranch:(GCHistoryLocalBranch*)branch;
- (void)setName:(NSString*)name forLocalBranch:(GCHistoryLocalBranch*)branch;
- (void)setTipCommit:(GCHistoryCommit*)commit forLocalBranch:(GCHistoryLocalBranch*)branch;
- (void)moveTipCommit:(GCHistoryCommit*)commit forLocalBranch:(GCHistoryLocalBranch*)branch;
- (void)setUpstream:(GCBranch*)upstream forLocalBranch:(GCLocalBranch*)branch;
- (void)createTagAtCommit:(GCHistoryCommit*)commit withName:(NSString*)name message:(NSString*)message;
- (void)setName:(NSString*)name forTag:(GCHistoryTag*)tag;
- (void)deleteTag:(GCHistoryTag*)tag;
- (void)fastForwardLocalBranch:(GCHistoryLocalBranch*)branch toCommitOrBranch:(id)commitOrBranch withUserMessage:(NSString*)userMessage;
- (void)mergeCommitOrBranch:(id)commitOrBranch intoLocalBranch:(GCHistoryLocalBranch*)branch withAncestorCommit:(GCHistoryCommit*)ancestorCommit userMessage:(NSString*)userMessage;
- (void)rebaseLocalBranch:(GCHistoryLocalBranch*)branch fromCommit:(GCHistoryCommit*)fromCommit ontoCommit:(GCHistoryCommit*)commit withUserMessage:(NSString*)userMessage;
- (void)smartMergeCommitOrBranch:(id)commitOrBranch intoLocalBranch:(GCHistoryLocalBranch*)intoBranch withUserMessage:(NSString*)userMessage;
- (void)smartRebaseLocalBranch:(GCHistoryLocalBranch*)branch ontoCommit:(GCHistoryCommit*)commit withUserMessage:(NSString*)userMessage;
- (void)fetchRemoteBranch:(GCHistoryRemoteBranch*)branch;
- (void)deleteRemoteBranch:(GCHistoryRemoteBranch*)branch;
- (void)deleteTagFromAllRemotes:(GCHistoryTag*)tag;
- (void)fetchDefaultRemoteBranchesFromAllRemotes;
- (void)fetchAllTagsFromAllRemotes:(BOOL)prune;
- (void)pushLocalBranch:(GCHistoryLocalBranch*)branch toRemote:(GCRemote*)remote;
- (void)pushLocalBranchToUpstream:(GCHistoryLocalBranch*)branch;
- (void)pushAllLocalBranchesToAllRemotes;
- (void)pushTag:(GCHistoryTag*)tag toRemote:(GCRemote*)remote;
- (void)pushAllTagsToAllRemotes;
- (void)pushTagsToAllRemotes:(NSArray*)tags;
- (void)pullLocalBranchFromUpstream:(GCHistoryLocalBranch*)branch;
@end