@@ -213,6 +213,61 @@ def tag(self,path):
213213 """
214214 return TagReference (self , path )
215215
216+ def create_head (self , path , commit = 'HEAD' , force = False , ** kwargs ):
217+ """
218+ Create a new head within the repository.
219+
220+ For more documentation, please see the Head.create method.
221+
222+ Returns
223+ newly created Head Reference
224+ """
225+ return Head .create (self , path , commit , force , ** kwargs )
226+
227+ def delete_head (self , * heads , ** kwargs ):
228+ """
229+ Delete the given heads
230+
231+ ``kwargs``
232+ Additional keyword arguments to be passed to git-branch
233+ """
234+ return Head .delete (self , * heads , ** kwargs )
235+
236+ def create_tag (self , path , ref = 'HEAD' , message = None , force = False , ** kwargs ):
237+ """
238+ Create a new tag reference.
239+
240+ For more documentation, please see the TagReference.create method.
241+
242+ Returns
243+ TagReference object
244+ """
245+ return TagReference .create (self , path , ref , message , force , ** kwargs )
246+
247+ def delete_tag (self , * tags ):
248+ """
249+ Delete the given tag references
250+ """
251+ return TagReference .delete (self , * tags )
252+
253+ def create_remote (self , name , url , ** kwargs ):
254+ """
255+ Create a new remote.
256+
257+ For more information, please see the documentation of the Remote.create
258+ methods
259+
260+ Returns
261+ Remote reference
262+ """
263+ return Remote .create (self , name , url , ** kwargs )
264+
265+ def delete_remote (self , remote ):
266+ """
267+ Delete the given remote.
268+ """
269+ return Remote .remove (self , remote )
270+
216271 def _get_config_path (self , config_level ):
217272 # we do not support an absolute path of the gitconfig on windows ,
218273 # use the global config instead
0 commit comments