Hello, thank you for using Howly. I’ll be happy to help you out! May I ask your name?
*****
Nice to meet you, *****!
So, whether you decide to share your code with a team via a server or use it to manage your code locally, your repository looks the same. So, that's why you can use Git without GitHub: Git works as a standalone tool or with a server.
Thanks
How can I write code on a local setup for an application without a repository to clone and open on local IDE?
The --bare flag creates a repository that doesn't have a working directory, making it impossible to edit files and commit changes in that repository.
Can I explain my current situation more detailed ?
Yes, of course.
I will do my best to help you.
So, I got access to an application server which runs in production mode. I can view the project files, and browse through them but only in terminal. Only way to see code is with vim command. The owner says that they don't have a repository of the application to give me access. How am I supposed to work and implement code without having the code on my local setup ?
In this case, please follow the instructions below.
Open a new or existing file with vim filename.
Type i to switch into insert mode so that you can start editing the file.
Enter or modify the text with your file.
Once you're done, press the escape key Esc to get out of insert mode and back to command mode.
Type :wq to save and exit your file.
Please, keep me posted.
So this way I am writting code directly into the live application server? Isn't this bad?
No. This is a normal procedure according to the requirements.
So i think the requirements are bad.
Isn't the right way of programming saying that you should have a version control system>
Ok, thanks for your answers
I had a good experience
I understand. These are the requirements of their service.
Is there anything else I can do for you today?
No, thank youy
Thank you for chatting with us today!
We are available 24/7, you can refer your questions anytime.
14 verified experts are online now
What about starting a discussion? Be the first to share your thoughts!