setting up git

merlin2049er

Well-Known Member
Licensed User
Longtime User
Hi, I'm trying to figure out how to add my basic4android apps on github.

I've seen a few android apps on it, how do I go about setting it up?
 

andymc

Well-Known Member
Licensed User
Longtime User
I'm afraid I can't help you with Github as it seems really complicated.

But have you thought about alternatives?

What the reason for using Github, are you writing team based applications the need to be distributed online, if so, then maybe dropbox would work for you? I use it for my app source code so I can work on my apps on multiple PC's without having to sync anything manually, dropbox does it all for me.

So I can work on something on the train on my laptop, then get home adn the laptop automically uploads the changes to my dropbox so the desktop PC can carry on working on the app without thinking about it. This would also work well for team projects, just share the folder amongst your team and any updates people make will automatically be shared to everyone else. Dropbox also keeps backups of previous versions of files.
 

moster67

Expert
Licensed User
Longtime User
Git works fine and so does Dropbox although Git lets you see code-changes easily (using diff-tools) and revert back to a previous version.

This is my reply to another post:


You can then add the following lines to your git-ignore file (I think there is no need for including these folders/files):

B4X:
#B4a
bin/
gen/
src/
*.apk
*.dex

This should be enough for version-handling and as a separate back-up. The only (minor) problem is when you update to (and compile using) a new version of B4A because most b4a-files result altered (because version number of B4A is being changed in B4A-files). In this case, you can commit everything nonetheless and put a note such as version change of B4A.
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…