Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
First Steps with Gitea
(view source)
Revision as of 14:05, 7 February 2023
94 bytes added
,
14:05, 7 February 2023
Add delete .git in Common directory
Line 4:
Line 4:
#!/bin/bash
#!/bin/bash
# $1 = Module name e.g. smeserver-ddclient
# $1 = Module name e.g. smeserver-ddclient
−
# $2 = "contrib"
ot
anything else -=> core module
+
# $2 = "contrib"
...
anything else -=> core module
LocalUser="brianr"
LocalUser="brianr"
RemoteUser="brianr"
RemoteUser="brianr"
Line 50:
Line 50:
#Get Clone the common directory
#Get Clone the common directory
git clone https://src.koozali.org/brianr/common.git
git clone https://src.koozali.org/brianr/common.git
+
# and delete the .git else it pushes back a link to the repo
+
cd common
+
rm -fr ".git"
+
cd ..
#stage and commit them
#stage and commit them
Line 63:
Line 67:
echo "Created $1 Repo in $RemoteRepoURL"
echo "Created $1 Repo in $RemoteRepoURL"
exit 0
exit 0
+
+
+
</syntaxhighlight>Issues:
</syntaxhighlight>Issues:
Brianr
Administrators (Semantic MediaWiki)
,
Administrators
681
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version